package com.mooc.yohoshop.network.function;

import com.mooc.yohoshop.entity.BaseEntity;

import org.jetbrains.annotations.NotNull;

import io.reactivex.functions.Function;

public class ConvertFunction<T extends BaseEntity,BaseEntity> implements Function<T,BaseEntity> {
    @Override
    public BaseEntity apply(@NotNull T t) throws Exception {
        return t;
    }
}
